package cn.ml.chuji.HuiYuanJiFen;

public class MyMember {
    private String name;
    private String cardId;
    private String password;
    private int fen;

    @Override
    public String toString() {
        return "MyMember{" +
                "姓名='" + name + '\'' +
                ", 卡号='" + cardId + '\'' +
                ", 密码='" + password + '\'' +
                ", 积分=" + fen +
                '}';
    }

    public MyMember(String cardId, String password) {
        this.cardId = cardId;
        this.password = password;
    }

    public MyMember() {
    }

    public MyMember(String name, String cardId, String password, int fen) {
        this.name = name;
        this.cardId = cardId;
        this.password = password;
        this.fen = fen;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getFen() {
        return fen;
    }

    public void setFen(int fen) {
        this.fen = fen;
    }
}
